package com.hyh.toyshopping.service;


import com.hyh.toyshopping.model.Orders;
import com.hyh.toyshopping.model.view.OrderDescView;
import com.hyh.toyshopping.model.view.OrderView;

import java.util.List;

/**
 * @version 1.0
 * @BelongsProject:IntelliJ IDEA
 * @BelongsPackage:com.hyh.myshopping.service
 * @Author:hyhWTX
 * @ClassName:OrderService
 * @CreateTime:2022年-12月-12日 16:31
 * @Description: TODO (一句话描述以下该类的功能)
 */
public interface OrderService {
    void addOrder(Orders orders);

    List<Orders> getOrderByUser(int user_id);

    List<OrderDescView> getOrderDescByOrderId(String order_id);

    List<OrderView> getOrderList();

    void updateOrderStatus(String order_id, int order_status);

}
